package com.lwq.util;

import com.lwq.model.SysTask;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;

/**
 * Description:
 * Author: LiuWenQing
 * Datetime: 2021/6/16
 */
@DisallowConcurrentExecution
public class QuartzDisallowConcurrentExecution extends AbstractQuartzJob{

    @Override
    protected void doExecute(JobExecutionContext context, SysTask task) throws Exception
    {
        JobInvokeUtil.invokeMethod(task);
    }
}
